package com.afander.logger.demo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MainActivity extends Activity{
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.content_main);
        Button button = this.findViewById(R.id.btn_logger);
        button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                LoggerActivity();
            }
        });
    }


    private void LoggerActivity(){
        Intent intent = new Intent(this,DLogActivity.class);
        startActivity(intent);
    }

}
